Use correct stat struct for ftw()
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 10 Jun 2018 21:05:30 +0000 (21:05 +0000)
committerSimon McVittie <smcv@debian.org>
Sun, 10 Sep 2023 14:51:04 +0000 (15:51 +0100)
commit9a5820ddb1f0db04fdb1d875b8ad998310628050
tree2ad64d3556dce713788e959d633564c94e784dd0
parent30b9c6fdbebd04270d0868949f8310575e03007a
Use correct stat struct for ftw()

check_dir_mtime() is called by ftw() and is given
the real stat struct, not its glib version (which may
or may not be the same as "struct stat").

This is irrelevant for MSVC (it has no ftw()) and
works correctly for MinGW-w64 (which declares stat
structures correctly). If mingw.org complains, add
a special ifdef for it later.

Origin: upstream, 3.24.39, commit:7e17693cced0db855bfe0997f26633ca8bdd48cc

Gbp-Pq: Name Use-correct-stat-struct-for-ftw.patch
gtk/updateiconcache.c